Represents an array (specifically, a Java array when targeting the JVM platform). Array instances can be created using the arrayOf, arrayOfNulls and emptyArray standard library functions. See Kotlin language documentation for more information on arrays.
Populates and returns the destination mutable map with key-value pairs, where key is provided by the keySelector function applied to each element of the given array and value is the element itself.
Populates and returns the destination mutable map with key-value pairs, where key is provided by the keySelector function and and value is provided by the valueTransform function applied to elements of the given array.
Populates and returns the destination mutable map with key-value pairs for each element of the given array, where key is the element itself and value is provided by the valueSelector function applied to that key.
Searches the array or the range of the array for the provided element using the binary search algorithm. The array is expected to be sorted according to the specified comparator, otherwise the result is undefined.
Searches the array or the range of the array for the provided element using the binary search algorithm. The array is expected to be sorted, otherwise the result is undefined.
Returns new array which is a copy of the original array, resized to the given newSize. The copy is either truncated or padded at the end with null values if necessary.
Returns the first non-null value produced by transform function being applied to elements of this array in iteration order, or throws NoSuchElementException if no non-null value was produced.
Returns the first non-null value produced by transform function being applied to elements of this array in iteration order, or null if no non-null value was produced.
Appends all elements yielded from results of transform function being invoked on each element and its index in the original array, to the given destination.
Accumulates value starting with initial value and applying operation from left to right to current accumulator value and each element with its index in the original array.
Accumulates value starting with initial value and applying operation from right to left to each element with its index in the original array and current accumulator value.
Groups elements of the original array by the key returned by the given keySelector function applied to each element and returns a map where each group key is associated with a list of corresponding elements.
Groups values returned by the valueTransform function applied to each element of the original array by the key returned by the given keySelector function applied to the element and returns a map where each group key is associated with a list of corresponding values.
Groups elements of the original array by the key returned by the given keySelector function applied to each element and puts to the destination map each group key associated with a list of corresponding elements.
Groups values returned by the valueTransform function applied to each element of the original array by the key returned by the given keySelector function applied to the element and puts to the destination map each group key associated with a list of corresponding values.
Creates a Grouping source from an array to be used later with one of group-and-fold operations using the specified keySelector function to extract a key from each element.
Applies the given transform function to each element and its index in the original array and appends only the non-null results to the given destination.
Returns the largest value according to the provided comparator among all values produced by selector function applied to each element in the array or null if there are no elements.
Returns the smallest value according to the provided comparator among all values produced by selector function applied to each element in the array or null if there are no elements.
Splits the original array into pair of lists, where first list contains elements for which predicate yielded true, while second list contains elements for which predicate yielded false.
Accumulates value starting with the first element and applying operation from left to right to current accumulator value and each element with its index in the original array.
Accumulates value starting with the first element and applying operation from left to right to current accumulator value and each element with its index in the original array.
Accumulates value starting with the last element and applying operation from right to left to each element with its index in the original array and current accumulator value.
Accumulates value starting with the last element and applying operation from right to left to each element with its index in the original array and current accumulator value.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element and current accumulator value that starts with initial value.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element, its index in the original array and current accumulator value that starts with initial value.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element and current accumulator value that starts with the first element of this array.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element, its index in the original array and current accumulator value that starts with the first element of this array.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element and current accumulator value that starts with initial value.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element, its index in the original array and current accumulator value that starts with initial value.
Returns a pair of lists, where first list is built from the first values of each pair from this array, second list is built from the second values of each pair from this array.
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
Returns a list of pairs built from the elements of this array and the other array with the same index. The returned list has length of the shortest collection.
Returns a list of values built from the elements of this array and the other array with the same index using the provided transform function applied to each pair of elements. The returned list has length of the shortest collection.
Returns a list of pairs built from the elements of this collection and other array with the same index. The returned list has length of the shortest collection.
Returns a list of values built from the elements of this array and the other collection with the same index using the provided transform function applied to each pair of elements. The returned list has length of the shortest collection.